<?php

declare(strict_types=1);
/**
 * @copyright 深圳市易果网络科技有限公司
 * @version 1.0.0
 * @link https://dayiguo.com
 */

namespace App\Service\Business;

use App\Dao\BusinessIndustryDao;
use App\Service\Service;
use Hyperf\Di\Annotation\Inject;

/**
 * 地区服务
 *
 * @author 李想(928674263@qq.com)
 * @package App\Service\Business
 */
class IndustryService extends Service
{
    /**
     * 注入地区DAO
     *
     * @Inject
     * @var BusinessIndustryDao
     */
    public $dao;

    /**
     * 获取地区列表
     * 
     * @return array
     */
    public function getIndustryInfo()
    {
        $result = $this->dao->getBusinessIndustryInfo();
        return $result;
    }
}